package dao

import "gorm.io/gorm"

type Goods struct {
	gorm.Model
	Name     string `gorm:"type:varchar(20);not null;comment:姓名"`
	Colour   string `gorm:"type:varchar(20);not null;comment:颜色"`
	Capacity string `gorm:"type:varchar(20);not null;comment:内存"`
	Channel  string `gorm:"type:varchar(20);not null;comment:渠道"`
	Battery  string `gorm:"type:varchar(20);not null;comment:电池"`
	Status   string `gorm:"type:varchar(20);not null;comment:状况"`
	Price    int    `gorm:"type:int(11);not null;comment:价格"`
}
